Thank you for your interest in the replication data that accompanies "Confidence in Elections Among U.S. Local Officials: Effects of Social Trust, Partisanship and Political Ambition."

If you utilize the data please cite as follows:

Plutzer, Eric, Gary Adler, Damon Maryl, Jonathan S. Coley, & Rebecca Sager. 2024.  “Replication Data supporting: Confidence in Elections Among U.S. Local Officials: Effects of Social Trust, Partisanship and Political Ambition.” https://dataverse.harvard.edu/dataverse/LocalOfficials




I. ARCHIVE CONTENTS

This replication archive contains four files:

1. This readme.txt file

2. MIT2022_subset.dta

This is secondary data collected by the Caltech/MIT Voting Technology Project. These data are from the 2022 Survey of the Performance of American Elections. The data are freely available for public use analysis at:  https://dataverse.harvard.edu/dataverse/SPAE.

3. replication_data_set.dta

This is the primary survey data collected by the paper's authors as part of the Local Officials Project.  

4. confidence runs replication code.do

This is a Stata do-file.

Once modified to locate the datasets on your local computer, will replicate the tables and figures in the manuscript.


II. RUNNING THE ANALYSIS

A. First download all files and place in a single folder.

B. Launch Stata and open "confidence runs replication code.do" in the do-file editor window.

C. Change line 10 to change the default directory (using the cd command) to be your newly created folder.

D. Now you can execute the entire do file, which will make the necessary recodes and data modifications and recreate all the tables and figures in the paper.

